package org.marsdonne.auth;

import org.springframework.core.io.ByteArrayResource;

public class MultipartFileResource extends ByteArrayResource {
    private String filename;

    MultipartFileResource(byte[] file, String filename) {
        super(file);
        this.filename = filename;
    }

    @Override
    public String getFilename() {
        return this.filename;
    }
}